package com.ruoyi.sj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 发送红包（金包）表 sj_send_red
 * 
 * @author tyc@yanyu.com
 * @date 2018-12-28
 */
public class SendRed extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long id;
	/** 发送人ID号 */
	private String senderID;
	/** 红包个数 */
	private Integer num;
	/** 红包金额 */
	private String money;
	/** 最佳手气 */
	private String bestLuck;
	/** 发出时间 */
	private String sendDate;
	/** 类型   1、红包   2、金包 */
	private Integer type;
	/** 备注 */
	private String note;
	private String avatar;
	private String nickname;

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId()
	{
		return id;
	}
	public void setSenderID(String senderID) 
	{
		this.senderID = senderID;
	}

	public String getSenderID() 
	{
		return senderID;
	}
	public void setNum(Integer num) 
	{
		this.num = num;
	}

	public Integer getNum() 
	{
		return num;
	}
	public void setMoney(String money)
	{
		this.money = money;
	}

	public String getMoney()
	{
		return money;
	}
	public void setBestLuck(String bestLuck) 
	{
		this.bestLuck = bestLuck;
	}

	public String getBestLuck() 
	{
		return bestLuck;
	}
	public void setSendDate(String sendDate) 
	{
		this.sendDate = sendDate;
	}

	public String getSendDate() 
	{
		return sendDate;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setNote(String note) 
	{
		this.note = note;
	}

	public String getNote() 
	{
		return note;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("senderID", getSenderID())
            .append("num", getNum())
            .append("money", getMoney())
            .append("bestLuck", getBestLuck())
            .append("sendDate", getSendDate())
            .append("type", getType())
            .append("note", getNote())
            .toString();
    }
}
